#include<vector>
#include<string>
using std::vector;
using std::string;
class xmlNode
{
	public:
		xmlNode(string val,string name); 
		~xmlNode();
		string getVal();
		string getName();
		vector<xmlNode*> getChirld();
	private:
		typedef unsigned int UI;
		vector<xmlNode*>Chirld;
		string val,name;  
};
class simpleXml
{
	public:
		xmlNode* getRoot();
		bool loadFile(const char *pathName);
		simpleXml();
		~simpleXml();
		void clear();
	private:
		typedef unsigned int UI;
		string charset,version,xmlVal;	
		int xmlSize;
		xmlNode* root;	
};
